package com.ocn.li.scmdy.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName MobileLoginForm
 * @Description 移动端登陆表单
 * @Author Li9527
 * @Date 2020/9/9 14:36
 * @Version 1.0
 */
@ApiModel(value = "移动端登陆表单  ")
@Data
public class MobileLoginForm {

    @ApiModelProperty(value = "用户名")
    @NotBlank(message="用户名不能为空")
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String passWord;

}
